package com.FQJ.stock.service;

import com.FQJ.stock.pojo.domain.*;
import com.FQJ.stock.vo.resp.PageResult;
import com.FQJ.stock.vo.resp.R;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface StockService {
	//其它省略......
    /**
     * 获取国内大盘的实时数据
     * @return
     */
    R<List<InnerMarketDomain>> innerIndexAll();
	/**
	 * 需求说明: 获取沪深两市板块最新数据，以交易总金额降序查询，取前10条数据
	 * @return
	 */
	R<List<StockBlockDomain>> sectorAllLimit();

	R<List<OuterMarketDomain>> externalIndex();

	R<PageResult> pageResultR(Integer page, Integer pageSize);

	R<List<StockUpdownDomain>> stockIncrease();

	R<Map> getStockUpdownCount();

	void pageResultR1(Integer page, Integer pageSize, HttpServletResponse response);

	R<Map<String, List<Map>>> getCompareStockTradeAmt();

	R<Map<String, Object>> stockUpDownScopeCount();

	R<List<Stock4MinuteDomain>> stockScreenTimeSharing(String code);

	R<List<Stock4EvrDayDomain>> stockCreenDkLine(String stockCode);
}
